package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 汽车套餐对象 car_package
 * 
 * @author ruoyi
 * @date 2023-05-10
 */
public class CarPackage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 汽车套餐表id */
    private Long id;

    /** 所在城市id */
    @Excel(name = "所在城市id")
    private Long cityId;

    /** 汽车id 对应汽车表 */
    @Excel(name = "汽车id 对应汽车表")
    private Long carId;

    /** 租车公司id */
    @Excel(name = "租车公司id")
    private Long carCompanyId;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 牌照 */
    @Excel(name = "牌照")
    private String photograph;

    /** 取车以及还车方式 */
    @Excel(name = "取车以及还车方式")
    private String pickReturnCar;

    /** 取车地点 */
    @Excel(name = "取车地点")
    private String pickUpLocation;

    /** 还车地点 */
    @Excel(name = "还车地点")
    private String returnLocation;

    /** 汽车数量 */
    @Excel(name = "汽车数量")
    private Long numberOfCars;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCityId(Long cityId) 
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }
    public void setCarId(Long carId) 
    {
        this.carId = carId;
    }

    public Long getCarId() 
    {
        return carId;
    }
    public void setCarCompanyId(Long carCompanyId) 
    {
        this.carCompanyId = carCompanyId;
    }

    public Long getCarCompanyId() 
    {
        return carCompanyId;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setPhotograph(String photograph) 
    {
        this.photograph = photograph;
    }

    public String getPhotograph() 
    {
        return photograph;
    }
    public void setPickReturnCar(String pickReturnCar) 
    {
        this.pickReturnCar = pickReturnCar;
    }

    public String getPickReturnCar() 
    {
        return pickReturnCar;
    }
    public void setPickUpLocation(String pickUpLocation) 
    {
        this.pickUpLocation = pickUpLocation;
    }

    public String getPickUpLocation() 
    {
        return pickUpLocation;
    }
    public void setReturnLocation(String returnLocation) 
    {
        this.returnLocation = returnLocation;
    }

    public String getReturnLocation() 
    {
        return returnLocation;
    }
    public void setNumberOfCars(Long numberOfCars) 
    {
        this.numberOfCars = numberOfCars;
    }

    public Long getNumberOfCars() 
    {
        return numberOfCars;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cityId", getCityId())
            .append("carId", getCarId())
            .append("carCompanyId", getCarCompanyId())
            .append("price", getPrice())
            .append("photograph", getPhotograph())
            .append("pickReturnCar", getPickReturnCar())
            .append("pickUpLocation", getPickUpLocation())
            .append("returnLocation", getReturnLocation())
            .append("numberOfCars", getNumberOfCars())
            .toString();
    }
}
